Skip to content

Add inventory exclude filter (keep items from being dumped to stash) - #10

Open
greenbrad wants to merge 1 commit into
exApiTools:masterfrom
greenbrad:inventory-exclude-filter
Open

Add inventory exclude filter (keep items from being dumped to stash)#10
greenbrad wants to merge 1 commit into
exApiTools:masterfrom
greenbrad:inventory-exclude-filter

Conversation

@greenbrad

Copy link
Copy Markdown

Adds a small window next to the inventory panel with a text box that keeps matching items from being dumped to the stash via the dump button or hotkeys.

Features

  • Terms are matched case-insensitively against the item metadata path and RenderName (some items have no render name, so metadata is the primary key)
  • Press Enter to save a term; saved terms show as click-to-remove chips and collapse into a Filters (N) popout when there are more than 2 (same UX as MapNotify's search bar)
  • Text still in the input box acts as a live filter preview before saving
  • Matching items get a colored highlight frame (color picker in the window and in settings, gold by default), reusing the existing thickness/rounding/deflation settings
  • Hovering a highlighted item shows its metadata path as a tooltip, with a configurable X/Y offset so it can be kept clear of the game tooltip
  • Toggles to hide the highlight frame and/or the tooltip — exclusion still applies when they are off
  • Saved terms and all settings persist across restarts
  • Excluded items are also removed from the IFL custom-filter highlight, so frames only show items that will actually move

Refactor

  • The duplicated frame-drawing/deflation code is extracted into a shared DrawItemFrame helper

🤖 Generated with Claude Code

Adds a text box window next to the inventory that keeps matching items
from being dumped to the stash:

- Terms are matched case-insensitively against the item metadata path
  and RenderName (some items have no render name)
- Press Enter to save a term; saved terms show as click-to-remove
  chips and collapse into a popout when there are more than 2
- Matching items are highlighted with a configurable colored frame
  (color picker in the window and in settings, gold by default)
- Hovering a highlighted item shows its metadata path as a tooltip,
  with a configurable X/Y offset
- Toggles to hide the highlight frame and the tooltip (exclusion
  still applies)
- Saved terms and settings persist across restarts

Also extracts the duplicated item frame drawing into a DrawItemFrame
helper.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant